<%@ page import="com.ffpc.struts.StrutsMessage" %>
<%@ page import="java.sql.*" %>
<%@ page import="java.util.*" %>
<%@ page import="java.text.*" %>
<%@ page import="java.net.URLEncoder" %>
<%@ page import="java.net.URLDecoder" %>

<%@ page import="admin.*" %>
<%@ page import="com.ffpc.sql.*"%>
<%
    ConnectionFactory connectionFactory = null;
    Connection con = null;

    StrutsMessage message = (StrutsMessage)request.getAttribute("message");
    if (message==null)
       message = new StrutsMessage();
    String contextPath = request.getContextPath();
    String formAction = request.getParameter("formAction");
    String readOnly = new String("");
    if (formAction!=null && formAction.trim().equalsIgnoreCase("Update"))
       readOnly = new String(" readonly ");
    User user = (User)session.getAttribute("user");
    try{
        connectionFactory = new ConnectionFactory();
        con = (Connection)connectionFactory.getConnection();
    String sid = connectionFactory.getSID();
    if (sid=="csms") {sid="prod";}
%>
<html>
<head>
   <title>Hutchison - FAS Application</title>
</head>
<% if (message.getMessage()!=null && message.getMessage().trim().length()>3 )
   { %>
  <script lang=javascript >
          alert('<%= message.getMessage() %>');
  </script>
<% } %>

